using System;
using System.Collections.Generic;
using System.ComponentModel;
using XCode;
using XCode.Configuration;
using XCode.DataAccessLayer;

namespace Model.Xcode
{
    /// <summary></summary>
    [Serializable]
    [DataObject]
    [BindTable("T_SYS_Users", Description = "", ConnName = "DefaultDB", DbType = DatabaseType.SqlServer)]
    public partial class TSysUsers : ITSysUsers
    {
        #region 属性
        private Int32 _ID;
        /// <summary></summary>
        [DisplayName("ID")]
        [DataObjectField(true, true, false, 10)]
        [BindColumn("ID", "", "int")]
        public Int32 ID { get => _ID; set { if (OnPropertyChanging(__.ID, value)) { _ID = value; OnPropertyChanged(__.ID); } } }

        private String _UserName;
        /// <summary></summary>
        [DisplayName("UserName")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("UserName", "", "nvarchar(50)")]
        public String UserName { get => _UserName; set { if (OnPropertyChanging(__.UserName, value)) { _UserName = value; OnPropertyChanged(__.UserName); } } }

        private String _FullName;
        /// <summary></summary>
        [DisplayName("FullName")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("FullName", "", "nvarchar(50)")]
        public String FullName { get => _FullName; set { if (OnPropertyChanging(__.FullName, value)) { _FullName = value; OnPropertyChanged(__.FullName); } } }

        private String _OrganizationId;
        /// <summary></summary>
        [DisplayName("OrganizationId")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("OrganizationId", "", "nvarchar(50)")]
        public String OrganizationId { get => _OrganizationId; set { if (OnPropertyChanging(__.OrganizationId, value)) { _OrganizationId = value; OnPropertyChanged(__.OrganizationId); } } }

        private String _Email;
        /// <summary></summary>
        [DisplayName("Email")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Email", "", "nvarchar(50)")]
        public String Email { get => _Email; set { if (OnPropertyChanging(__.Email, value)) { _Email = value; OnPropertyChanged(__.Email); } } }

        private String _Mobile;
        /// <summary></summary>
        [DisplayName("Mobile")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Mobile", "", "nvarchar(50)")]
        public String Mobile { get => _Mobile; set { if (OnPropertyChanging(__.Mobile, value)) { _Mobile = value; OnPropertyChanged(__.Mobile); } } }

        private String _EmployeeNo;
        /// <summary></summary>
        [DisplayName("EmployeeNo")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("EmployeeNo", "", "nvarchar(50)")]
        public String EmployeeNo { get => _EmployeeNo; set { if (OnPropertyChanging(__.EmployeeNo, value)) { _EmployeeNo = value; OnPropertyChanged(__.EmployeeNo); } } }

        private Boolean _IsDisabled;
        /// <summary></summary>
        [DisplayName("IsDisabled")]
        [DataObjectField(false, false, true, 0)]
        [BindColumn("IsDisabled", "", "bit")]
        public Boolean IsDisabled { get => _IsDisabled; set { if (OnPropertyChanging(__.IsDisabled, value)) { _IsDisabled = value; OnPropertyChanged(__.IsDisabled); } } }

        private Boolean _IsLocked;
        /// <summary></summary>
        [DisplayName("IsLocked")]
        [DataObjectField(false, false, true, 0)]
        [BindColumn("IsLocked", "", "bit")]
        public Boolean IsLocked { get => _IsLocked; set { if (OnPropertyChanging(__.IsLocked, value)) { _IsLocked = value; OnPropertyChanged(__.IsLocked); } } }

        private DateTime _CreateAt;
        /// <summary></summary>
        [DisplayName("CreateAt")]
        [DataObjectField(false, false, true, 3)]
        [BindColumn("CreateAt", "", "datetime", Precision = 0, Scale = 3)]
        public DateTime CreateAt { get => _CreateAt; set { if (OnPropertyChanging(__.CreateAt, value)) { _CreateAt = value; OnPropertyChanged(__.CreateAt); } } }

        private DateTime _UpdateAt;
        /// <summary></summary>
        [DisplayName("UpdateAt")]
        [DataObjectField(false, false, true, 3)]
        [BindColumn("UpdateAt", "", "datetime", Precision = 0, Scale = 3)]
        public DateTime UpdateAt { get => _UpdateAt; set { if (OnPropertyChanging(__.UpdateAt, value)) { _UpdateAt = value; OnPropertyChanged(__.UpdateAt); } } }

        private String _Status;
        /// <summary></summary>
        [DisplayName("Status")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Status", "", "nvarchar(50)")]
        public String Status { get => _Status; set { if (OnPropertyChanging(__.Status, value)) { _Status = value; OnPropertyChanged(__.Status); } } }

        private String _CertNo;
        /// <summary></summary>
        [DisplayName("CertNo")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("CertNo", "", "nvarchar(50)")]
        public String CertNo { get => _CertNo; set { if (OnPropertyChanging(__.CertNo, value)) { _CertNo = value; OnPropertyChanged(__.CertNo); } } }

        private String _BankAccount;
        /// <summary></summary>
        [DisplayName("BankAccount")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("BankAccount", "", "nvarchar(50)")]
        public String BankAccount { get => _BankAccount; set { if (OnPropertyChanging(__.BankAccount, value)) { _BankAccount = value; OnPropertyChanged(__.BankAccount); } } }

        private DateTime _BeginIndustryAt;
        /// <summary></summary>
        [DisplayName("BeginIndustryAt")]
        [DataObjectField(false, false, true, 3)]
        [BindColumn("BeginIndustryAt", "", "datetime", Precision = 0, Scale = 3)]
        public DateTime BeginIndustryAt { get => _BeginIndustryAt; set { if (OnPropertyChanging(__.BeginIndustryAt, value)) { _BeginIndustryAt = value; OnPropertyChanged(__.BeginIndustryAt); } } }

        private DateTime _BiYeShiJian;
        /// <summary></summary>
        [DisplayName("BiYeShiJian")]
        [DataObjectField(false, false, true, 3)]
        [BindColumn("BiYeShiJian", "", "datetime", Precision = 0, Scale = 3)]
        public DateTime BiYeShiJian { get => _BiYeShiJian; set { if (OnPropertyChanging(__.BiYeShiJian, value)) { _BiYeShiJian = value; OnPropertyChanged(__.BiYeShiJian); } } }

        private String _BiYeXueYuan;
        /// <summary></summary>
        [DisplayName("BiYeXueYuan")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("BiYeXueYuan", "", "nvarchar(50)")]
        public String BiYeXueYuan { get => _BiYeXueYuan; set { if (OnPropertyChanging(__.BiYeXueYuan, value)) { _BiYeXueYuan = value; OnPropertyChanged(__.BiYeXueYuan); } } }

        private DateTime _BirthDay;
        /// <summary></summary>
        [DisplayName("BirthDay")]
        [DataObjectField(false, false, true, 3)]
        [BindColumn("BirthDay", "", "datetime", Precision = 0, Scale = 3)]
        public DateTime BirthDay { get => _BirthDay; set { if (OnPropertyChanging(__.BirthDay, value)) { _BirthDay = value; OnPropertyChanged(__.BirthDay); } } }

        private String _BirthPlace;
        /// <summary></summary>
        [DisplayName("BirthPlace")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("BirthPlace", "", "nvarchar(50)")]
        public String BirthPlace { get => _BirthPlace; set { if (OnPropertyChanging(__.BirthPlace, value)) { _BirthPlace = value; OnPropertyChanged(__.BirthPlace); } } }

        private String _Bmmc;
        /// <summary></summary>
        [DisplayName("Bmmc")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Bmmc", "", "nvarchar(50)")]
        public String Bmmc { get => _Bmmc; set { if (OnPropertyChanging(__.Bmmc, value)) { _Bmmc = value; OnPropertyChanged(__.Bmmc); } } }

        private String _DegreeText;
        /// <summary></summary>
        [DisplayName("DegreeText")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("DegreeText", "", "nvarchar(50)")]
        public String DegreeText { get => _DegreeText; set { if (OnPropertyChanging(__.DegreeText, value)) { _DegreeText = value; OnPropertyChanged(__.DegreeText); } } }

        private String _EmergencyContact;
        /// <summary></summary>
        [DisplayName("EmergencyContact")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("EmergencyContact", "", "nvarchar(50)")]
        public String EmergencyContact { get => _EmergencyContact; set { if (OnPropertyChanging(__.EmergencyContact, value)) { _EmergencyContact = value; OnPropertyChanged(__.EmergencyContact); } } }

        private String _EmpPhotoUrl;
        /// <summary></summary>
        [DisplayName("EmpPhotoUrl")]
        [DataObjectField(false, false, true, 100)]
        [BindColumn("EmpPhotoUrl", "", "nvarchar(100)")]
        public String EmpPhotoUrl { get => _EmpPhotoUrl; set { if (OnPropertyChanging(__.EmpPhotoUrl, value)) { _EmpPhotoUrl = value; OnPropertyChanged(__.EmpPhotoUrl); } } }

        private String _Gwmc;
        /// <summary></summary>
        [DisplayName("Gwmc")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Gwmc", "", "nvarchar(50)")]
        public String Gwmc { get => _Gwmc; set { if (OnPropertyChanging(__.Gwmc, value)) { _Gwmc = value; OnPropertyChanged(__.Gwmc); } } }

        private DateTime _HireDate;
        /// <summary></summary>
        [DisplayName("HireDate")]
        [DataObjectField(false, false, true, 3)]
        [BindColumn("HireDate", "", "datetime", Precision = 0, Scale = 3)]
        public DateTime HireDate { get => _HireDate; set { if (OnPropertyChanging(__.HireDate, value)) { _HireDate = value; OnPropertyChanged(__.HireDate); } } }

        private String _HrGuid;
        /// <summary></summary>
        [DisplayName("HrGuid")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("HrGuid", "", "nvarchar(50)")]
        public String HrGuid { get => _HrGuid; set { if (OnPropertyChanging(__.HrGuid, value)) { _HrGuid = value; OnPropertyChanged(__.HrGuid); } } }

        private String _HuJiDiZhi;
        /// <summary></summary>
        [DisplayName("HuJiDiZhi")]
        [DataObjectField(false, false, true, 100)]
        [BindColumn("HuJiDiZhi", "", "nvarchar(100)")]
        public String HuJiDiZhi { get => _HuJiDiZhi; set { if (OnPropertyChanging(__.HuJiDiZhi, value)) { _HuJiDiZhi = value; OnPropertyChanged(__.HuJiDiZhi); } } }

        private String _MarriageText;
        /// <summary></summary>
        [DisplayName("MarriageText")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("MarriageText", "", "nvarchar(50)")]
        public String MarriageText { get => _MarriageText; set { if (OnPropertyChanging(__.MarriageText, value)) { _MarriageText = value; OnPropertyChanged(__.MarriageText); } } }

        private String _NationText;
        /// <summary></summary>
        [DisplayName("NationText")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("NationText", "", "nvarchar(50)")]
        public String NationText { get => _NationText; set { if (OnPropertyChanging(__.NationText, value)) { _NationText = value; OnPropertyChanged(__.NationText); } } }

        private String _Nationality;
        /// <summary></summary>
        [DisplayName("Nationality")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Nationality", "", "nvarchar(50)")]
        public String Nationality { get => _Nationality; set { if (OnPropertyChanging(__.Nationality, value)) { _Nationality = value; OnPropertyChanged(__.Nationality); } } }

        private String _OfficePhone;
        /// <summary></summary>
        [DisplayName("OfficePhone")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("OfficePhone", "", "nvarchar(50)")]
        public String OfficePhone { get => _OfficePhone; set { if (OnPropertyChanging(__.OfficePhone, value)) { _OfficePhone = value; OnPropertyChanged(__.OfficePhone); } } }

        private String _OldEmployeeNo;
        /// <summary></summary>
        [DisplayName("OldEmployeeNo")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("OldEmployeeNo", "", "nvarchar(50)")]
        public String OldEmployeeNo { get => _OldEmployeeNo; set { if (OnPropertyChanging(__.OldEmployeeNo, value)) { _OldEmployeeNo = value; OnPropertyChanged(__.OldEmployeeNo); } } }

        private String _OldHrDeptGid;
        /// <summary></summary>
        [DisplayName("OldHrDeptGid")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("OldHrDeptGid", "", "nvarchar(50)")]
        public String OldHrDeptGid { get => _OldHrDeptGid; set { if (OnPropertyChanging(__.OldHrDeptGid, value)) { _OldHrDeptGid = value; OnPropertyChanged(__.OldHrDeptGid); } } }

        private String _OldHrInnerID;
        /// <summary></summary>
        [DisplayName("OldHrInnerID")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("OldHrInnerID", "", "nvarchar(50)")]
        public String OldHrInnerID { get => _OldHrInnerID; set { if (OnPropertyChanging(__.OldHrInnerID, value)) { _OldHrInnerID = value; OnPropertyChanged(__.OldHrInnerID); } } }

        private String _OldHrPosiGid;
        /// <summary></summary>
        [DisplayName("OldHrPosiGid")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("OldHrPosiGid", "", "nvarchar(50)")]
        public String OldHrPosiGid { get => _OldHrPosiGid; set { if (OnPropertyChanging(__.OldHrPosiGid, value)) { _OldHrPosiGid = value; OnPropertyChanged(__.OldHrPosiGid); } } }

        private String _OldHrUserGuid;
        /// <summary></summary>
        [DisplayName("OldHrUserGuid")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("OldHrUserGuid", "", "nvarchar(50)")]
        public String OldHrUserGuid { get => _OldHrUserGuid; set { if (OnPropertyChanging(__.OldHrUserGuid, value)) { _OldHrUserGuid = value; OnPropertyChanged(__.OldHrUserGuid); } } }

        private String _OntrialText;
        /// <summary></summary>
        [DisplayName("OntrialText")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("OntrialText", "", "nvarchar(50)")]
        public String OntrialText { get => _OntrialText; set { if (OnPropertyChanging(__.OntrialText, value)) { _OntrialText = value; OnPropertyChanged(__.OntrialText); } } }

        private String _PartTimeDepGidStr;
        /// <summary></summary>
        [DisplayName("PartTimeDepGidStr")]
        [DataObjectField(false, false, true, 200)]
        [BindColumn("PartTimeDepGidStr", "", "nvarchar(200)")]
        public String PartTimeDepGidStr { get => _PartTimeDepGidStr; set { if (OnPropertyChanging(__.PartTimeDepGidStr, value)) { _PartTimeDepGidStr = value; OnPropertyChanged(__.PartTimeDepGidStr); } } }

        private String _PartTimeDepIDsStr;
        /// <summary></summary>
        [DisplayName("PartTimeDepIDsStr")]
        [DataObjectField(false, false, true, 200)]
        [BindColumn("PartTimeDepIDsStr", "", "nvarchar(200)")]
        public String PartTimeDepIDsStr { get => _PartTimeDepIDsStr; set { if (OnPropertyChanging(__.PartTimeDepIDsStr, value)) { _PartTimeDepIDsStr = value; OnPropertyChanged(__.PartTimeDepIDsStr); } } }

        private String _PartTimePositionGidStr;
        /// <summary></summary>
        [DisplayName("PartTimePositionGidStr")]
        [DataObjectField(false, false, true, 200)]
        [BindColumn("PartTimePositionGidStr", "", "nvarchar(200)")]
        public String PartTimePositionGidStr { get => _PartTimePositionGidStr; set { if (OnPropertyChanging(__.PartTimePositionGidStr, value)) { _PartTimePositionGidStr = value; OnPropertyChanged(__.PartTimePositionGidStr); } } }

        private String _PartTimePositionIdsStr;
        /// <summary></summary>
        [DisplayName("PartTimePositionIdsStr")]
        [DataObjectField(false, false, true, 200)]
        [BindColumn("PartTimePositionIdsStr", "", "nvarchar(200)")]
        public String PartTimePositionIdsStr { get => _PartTimePositionIdsStr; set { if (OnPropertyChanging(__.PartTimePositionIdsStr, value)) { _PartTimePositionIdsStr = value; OnPropertyChanged(__.PartTimePositionIdsStr); } } }

        private String _PartTimeStartDateStr;
        /// <summary></summary>
        [DisplayName("PartTimeStartDateStr")]
        [DataObjectField(false, false, true, 200)]
        [BindColumn("PartTimeStartDateStr", "", "nvarchar(200)")]
        public String PartTimeStartDateStr { get => _PartTimeStartDateStr; set { if (OnPropertyChanging(__.PartTimeStartDateStr, value)) { _PartTimeStartDateStr = value; OnPropertyChanged(__.PartTimeStartDateStr); } } }

        private String _PartTimeStatusStr;
        /// <summary></summary>
        [DisplayName("PartTimeStatusStr")]
        [DataObjectField(false, false, true, 200)]
        [BindColumn("PartTimeStatusStr", "", "nvarchar(200)")]
        public String PartTimeStatusStr { get => _PartTimeStatusStr; set { if (OnPropertyChanging(__.PartTimeStatusStr, value)) { _PartTimeStatusStr = value; OnPropertyChanged(__.PartTimeStatusStr); } } }

        private String _PersonnelStatus;
        /// <summary></summary>
        [DisplayName("PersonnelStatus")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("PersonnelStatus", "", "nvarchar(50)")]
        public String PersonnelStatus { get => _PersonnelStatus; set { if (OnPropertyChanging(__.PersonnelStatus, value)) { _PersonnelStatus = value; OnPropertyChanged(__.PersonnelStatus); } } }

        private String _PhoneContact;
        /// <summary></summary>
        [DisplayName("PhoneContact")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("PhoneContact", "", "nvarchar(50)")]
        public String PhoneContact { get => _PhoneContact; set { if (OnPropertyChanging(__.PhoneContact, value)) { _PhoneContact = value; OnPropertyChanged(__.PhoneContact); } } }

        private String _Physical;
        /// <summary></summary>
        [DisplayName("Physical")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Physical", "", "nvarchar(50)")]
        public String Physical { get => _Physical; set { if (OnPropertyChanging(__.Physical, value)) { _Physical = value; OnPropertyChanged(__.Physical); } } }

        private String _PoliticalText;
        /// <summary></summary>
        [DisplayName("PoliticalText")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("PoliticalText", "", "nvarchar(50)")]
        public String PoliticalText { get => _PoliticalText; set { if (OnPropertyChanging(__.PoliticalText, value)) { _PoliticalText = value; OnPropertyChanged(__.PoliticalText); } } }

        private String _Position;
        /// <summary></summary>
        [DisplayName("Position")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("Position", "", "nvarchar(50)")]
        public String Position { get => _Position; set { if (OnPropertyChanging(__.Position, value)) { _Position = value; OnPropertyChanged(__.Position); } } }

        private String _SexName;
        /// <summary></summary>
        [DisplayName("SexName")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("SexName", "", "nvarchar(50)")]
        public String SexName { get => _SexName; set { if (OnPropertyChanging(__.SexName, value)) { _SexName = value; OnPropertyChanged(__.SexName); } } }

        private DateTime _WorkDate;
        /// <summary></summary>
        [DisplayName("WorkDate")]
        [DataObjectField(false, false, true, 3)]
        [BindColumn("WorkDate", "", "datetime", Precision = 0, Scale = 3)]
        public DateTime WorkDate { get => _WorkDate; set { if (OnPropertyChanging(__.WorkDate, value)) { _WorkDate = value; OnPropertyChanged(__.WorkDate); } } }

        private String _WorkPlace;
        /// <summary></summary>
        [DisplayName("WorkPlace")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("WorkPlace", "", "nvarchar(50)")]
        public String WorkPlace { get => _WorkPlace; set { if (OnPropertyChanging(__.WorkPlace, value)) { _WorkPlace = value; OnPropertyChanged(__.WorkPlace); } } }

        private String _XianZhuDiZhi;
        /// <summary></summary>
        [DisplayName("XianZhuDiZhi")]
        [DataObjectField(false, false, true, 100)]
        [BindColumn("XianZhuDiZhi", "", "nvarchar(100)")]
        public String XianZhuDiZhi { get => _XianZhuDiZhi; set { if (OnPropertyChanging(__.XianZhuDiZhi, value)) { _XianZhuDiZhi = value; OnPropertyChanged(__.XianZhuDiZhi); } } }

        private String _YingYuDengJi;
        /// <summary></summary>
        [DisplayName("YingYuDengJi")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("YingYuDengJi", "", "nvarchar(50)")]
        public String YingYuDengJi { get => _YingYuDengJi; set { if (OnPropertyChanging(__.YingYuDengJi, value)) { _YingYuDengJi = value; OnPropertyChanged(__.YingYuDengJi); } } }

        private String _ZhuanYe;
        /// <summary></summary>
        [DisplayName("ZhuanYe")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("ZhuanYe", "", "nvarchar(50)")]
        public String ZhuanYe { get => _ZhuanYe; set { if (OnPropertyChanging(__.ZhuanYe, value)) { _ZhuanYe = value; OnPropertyChanged(__.ZhuanYe); } } }

        private String _BmmcPt;
        /// <summary></summary>
        [DisplayName("BmmcPt")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("BmmcPt", "", "nvarchar(50)")]
        public String BmmcPt { get => _BmmcPt; set { if (OnPropertyChanging(__.BmmcPt, value)) { _BmmcPt = value; OnPropertyChanged(__.BmmcPt); } } }

        private String _DeptClassText;
        /// <summary></summary>
        [DisplayName("DeptClassText")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("DeptClassText", "", "nvarchar(50)")]
        public String DeptClassText { get => _DeptClassText; set { if (OnPropertyChanging(__.DeptClassText, value)) { _DeptClassText = value; OnPropertyChanged(__.DeptClassText); } } }

        private String _DeptClass;
        /// <summary></summary>
        [DisplayName("DeptClass")]
        [DataObjectField(false, false, true, 50)]
        [BindColumn("DeptClass", "", "nvarchar(50)")]
        public String DeptClass { get => _DeptClass; set { if (OnPropertyChanging(__.DeptClass, value)) { _DeptClass = value; OnPropertyChanged(__.DeptClass); } } }
        #endregion

        #region 获取/设置 字段值
        /// <summary>获取/设置 字段值</summary>
        /// <param name="name">字段名</param>
        /// <returns></returns>
        public override Object this[String name]
        {
            get
            {
                switch (name)
                {
                    case __.ID: return _ID;
                    case __.UserName: return _UserName;
                    case __.FullName: return _FullName;
                    case __.OrganizationId: return _OrganizationId;
                    case __.Email: return _Email;
                    case __.Mobile: return _Mobile;
                    case __.EmployeeNo: return _EmployeeNo;
                    case __.IsDisabled: return _IsDisabled;
                    case __.IsLocked: return _IsLocked;
                    case __.CreateAt: return _CreateAt;
                    case __.UpdateAt: return _UpdateAt;
                    case __.Status: return _Status;
                    case __.CertNo: return _CertNo;
                    case __.BankAccount: return _BankAccount;
                    case __.BeginIndustryAt: return _BeginIndustryAt;
                    case __.BiYeShiJian: return _BiYeShiJian;
                    case __.BiYeXueYuan: return _BiYeXueYuan;
                    case __.BirthDay: return _BirthDay;
                    case __.BirthPlace: return _BirthPlace;
                    case __.Bmmc: return _Bmmc;
                    case __.DegreeText: return _DegreeText;
                    case __.EmergencyContact: return _EmergencyContact;
                    case __.EmpPhotoUrl: return _EmpPhotoUrl;
                    case __.Gwmc: return _Gwmc;
                    case __.HireDate: return _HireDate;
                    case __.HrGuid: return _HrGuid;
                    case __.HuJiDiZhi: return _HuJiDiZhi;
                    case __.MarriageText: return _MarriageText;
                    case __.NationText: return _NationText;
                    case __.Nationality: return _Nationality;
                    case __.OfficePhone: return _OfficePhone;
                    case __.OldEmployeeNo: return _OldEmployeeNo;
                    case __.OldHrDeptGid: return _OldHrDeptGid;
                    case __.OldHrInnerID: return _OldHrInnerID;
                    case __.OldHrPosiGid: return _OldHrPosiGid;
                    case __.OldHrUserGuid: return _OldHrUserGuid;
                    case __.OntrialText: return _OntrialText;
                    case __.PartTimeDepGidStr: return _PartTimeDepGidStr;
                    case __.PartTimeDepIDsStr: return _PartTimeDepIDsStr;
                    case __.PartTimePositionGidStr: return _PartTimePositionGidStr;
                    case __.PartTimePositionIdsStr: return _PartTimePositionIdsStr;
                    case __.PartTimeStartDateStr: return _PartTimeStartDateStr;
                    case __.PartTimeStatusStr: return _PartTimeStatusStr;
                    case __.PersonnelStatus: return _PersonnelStatus;
                    case __.PhoneContact: return _PhoneContact;
                    case __.Physical: return _Physical;
                    case __.PoliticalText: return _PoliticalText;
                    case __.Position: return _Position;
                    case __.SexName: return _SexName;
                    case __.WorkDate: return _WorkDate;
                    case __.WorkPlace: return _WorkPlace;
                    case __.XianZhuDiZhi: return _XianZhuDiZhi;
                    case __.YingYuDengJi: return _YingYuDengJi;
                    case __.ZhuanYe: return _ZhuanYe;
                    case __.BmmcPt: return _BmmcPt;
                    case __.DeptClassText: return _DeptClassText;
                    case __.DeptClass: return _DeptClass;
                    default: return base[name];
                }
            }
            set
            {
                switch (name)
                {
                    case __.ID: _ID = value.ToInt(); break;
                    case __.UserName: _UserName = Convert.ToString(value); break;
                    case __.FullName: _FullName = Convert.ToString(value); break;
                    case __.OrganizationId: _OrganizationId = Convert.ToString(value); break;
                    case __.Email: _Email = Convert.ToString(value); break;
                    case __.Mobile: _Mobile = Convert.ToString(value); break;
                    case __.EmployeeNo: _EmployeeNo = Convert.ToString(value); break;
                    case __.IsDisabled: _IsDisabled = value.ToBoolean(); break;
                    case __.IsLocked: _IsLocked = value.ToBoolean(); break;
                    case __.CreateAt: _CreateAt = value.ToDateTime(); break;
                    case __.UpdateAt: _UpdateAt = value.ToDateTime(); break;
                    case __.Status: _Status = Convert.ToString(value); break;
                    case __.CertNo: _CertNo = Convert.ToString(value); break;
                    case __.BankAccount: _BankAccount = Convert.ToString(value); break;
                    case __.BeginIndustryAt: _BeginIndustryAt = value.ToDateTime(); break;
                    case __.BiYeShiJian: _BiYeShiJian = value.ToDateTime(); break;
                    case __.BiYeXueYuan: _BiYeXueYuan = Convert.ToString(value); break;
                    case __.BirthDay: _BirthDay = value.ToDateTime(); break;
                    case __.BirthPlace: _BirthPlace = Convert.ToString(value); break;
                    case __.Bmmc: _Bmmc = Convert.ToString(value); break;
                    case __.DegreeText: _DegreeText = Convert.ToString(value); break;
                    case __.EmergencyContact: _EmergencyContact = Convert.ToString(value); break;
                    case __.EmpPhotoUrl: _EmpPhotoUrl = Convert.ToString(value); break;
                    case __.Gwmc: _Gwmc = Convert.ToString(value); break;
                    case __.HireDate: _HireDate = value.ToDateTime(); break;
                    case __.HrGuid: _HrGuid = Convert.ToString(value); break;
                    case __.HuJiDiZhi: _HuJiDiZhi = Convert.ToString(value); break;
                    case __.MarriageText: _MarriageText = Convert.ToString(value); break;
                    case __.NationText: _NationText = Convert.ToString(value); break;
                    case __.Nationality: _Nationality = Convert.ToString(value); break;
                    case __.OfficePhone: _OfficePhone = Convert.ToString(value); break;
                    case __.OldEmployeeNo: _OldEmployeeNo = Convert.ToString(value); break;
                    case __.OldHrDeptGid: _OldHrDeptGid = Convert.ToString(value); break;
                    case __.OldHrInnerID: _OldHrInnerID = Convert.ToString(value); break;
                    case __.OldHrPosiGid: _OldHrPosiGid = Convert.ToString(value); break;
                    case __.OldHrUserGuid: _OldHrUserGuid = Convert.ToString(value); break;
                    case __.OntrialText: _OntrialText = Convert.ToString(value); break;
                    case __.PartTimeDepGidStr: _PartTimeDepGidStr = Convert.ToString(value); break;
                    case __.PartTimeDepIDsStr: _PartTimeDepIDsStr = Convert.ToString(value); break;
                    case __.PartTimePositionGidStr: _PartTimePositionGidStr = Convert.ToString(value); break;
                    case __.PartTimePositionIdsStr: _PartTimePositionIdsStr = Convert.ToString(value); break;
                    case __.PartTimeStartDateStr: _PartTimeStartDateStr = Convert.ToString(value); break;
                    case __.PartTimeStatusStr: _PartTimeStatusStr = Convert.ToString(value); break;
                    case __.PersonnelStatus: _PersonnelStatus = Convert.ToString(value); break;
                    case __.PhoneContact: _PhoneContact = Convert.ToString(value); break;
                    case __.Physical: _Physical = Convert.ToString(value); break;
                    case __.PoliticalText: _PoliticalText = Convert.ToString(value); break;
                    case __.Position: _Position = Convert.ToString(value); break;
                    case __.SexName: _SexName = Convert.ToString(value); break;
                    case __.WorkDate: _WorkDate = value.ToDateTime(); break;
                    case __.WorkPlace: _WorkPlace = Convert.ToString(value); break;
                    case __.XianZhuDiZhi: _XianZhuDiZhi = Convert.ToString(value); break;
                    case __.YingYuDengJi: _YingYuDengJi = Convert.ToString(value); break;
                    case __.ZhuanYe: _ZhuanYe = Convert.ToString(value); break;
                    case __.BmmcPt: _BmmcPt = Convert.ToString(value); break;
                    case __.DeptClassText: _DeptClassText = Convert.ToString(value); break;
                    case __.DeptClass: _DeptClass = Convert.ToString(value); break;
                    default: base[name] = value; break;
                }
            }
        }
        #endregion

        #region 字段名
        /// <summary>取得TSysUsers字段信息的快捷方式</summary>
        public partial class _
        {
            /// <summary></summary>
            public static readonly Field ID = FindByName(__.ID);

            /// <summary></summary>
            public static readonly Field UserName = FindByName(__.UserName);

            /// <summary></summary>
            public static readonly Field FullName = FindByName(__.FullName);

            /// <summary></summary>
            public static readonly Field OrganizationId = FindByName(__.OrganizationId);

            /// <summary></summary>
            public static readonly Field Email = FindByName(__.Email);

            /// <summary></summary>
            public static readonly Field Mobile = FindByName(__.Mobile);

            /// <summary></summary>
            public static readonly Field EmployeeNo = FindByName(__.EmployeeNo);

            /// <summary></summary>
            public static readonly Field IsDisabled = FindByName(__.IsDisabled);

            /// <summary></summary>
            public static readonly Field IsLocked = FindByName(__.IsLocked);

            /// <summary></summary>
            public static readonly Field CreateAt = FindByName(__.CreateAt);

            /// <summary></summary>
            public static readonly Field UpdateAt = FindByName(__.UpdateAt);

            /// <summary></summary>
            public static readonly Field Status = FindByName(__.Status);

            /// <summary></summary>
            public static readonly Field CertNo = FindByName(__.CertNo);

            /// <summary></summary>
            public static readonly Field BankAccount = FindByName(__.BankAccount);

            /// <summary></summary>
            public static readonly Field BeginIndustryAt = FindByName(__.BeginIndustryAt);

            /// <summary></summary>
            public static readonly Field BiYeShiJian = FindByName(__.BiYeShiJian);

            /// <summary></summary>
            public static readonly Field BiYeXueYuan = FindByName(__.BiYeXueYuan);

            /// <summary></summary>
            public static readonly Field BirthDay = FindByName(__.BirthDay);

            /// <summary></summary>
            public static readonly Field BirthPlace = FindByName(__.BirthPlace);

            /// <summary></summary>
            public static readonly Field Bmmc = FindByName(__.Bmmc);

            /// <summary></summary>
            public static readonly Field DegreeText = FindByName(__.DegreeText);

            /// <summary></summary>
            public static readonly Field EmergencyContact = FindByName(__.EmergencyContact);

            /// <summary></summary>
            public static readonly Field EmpPhotoUrl = FindByName(__.EmpPhotoUrl);

            /// <summary></summary>
            public static readonly Field Gwmc = FindByName(__.Gwmc);

            /// <summary></summary>
            public static readonly Field HireDate = FindByName(__.HireDate);

            /// <summary></summary>
            public static readonly Field HrGuid = FindByName(__.HrGuid);

            /// <summary></summary>
            public static readonly Field HuJiDiZhi = FindByName(__.HuJiDiZhi);

            /// <summary></summary>
            public static readonly Field MarriageText = FindByName(__.MarriageText);

            /// <summary></summary>
            public static readonly Field NationText = FindByName(__.NationText);

            /// <summary></summary>
            public static readonly Field Nationality = FindByName(__.Nationality);

            /// <summary></summary>
            public static readonly Field OfficePhone = FindByName(__.OfficePhone);

            /// <summary></summary>
            public static readonly Field OldEmployeeNo = FindByName(__.OldEmployeeNo);

            /// <summary></summary>
            public static readonly Field OldHrDeptGid = FindByName(__.OldHrDeptGid);

            /// <summary></summary>
            public static readonly Field OldHrInnerID = FindByName(__.OldHrInnerID);

            /// <summary></summary>
            public static readonly Field OldHrPosiGid = FindByName(__.OldHrPosiGid);

            /// <summary></summary>
            public static readonly Field OldHrUserGuid = FindByName(__.OldHrUserGuid);

            /// <summary></summary>
            public static readonly Field OntrialText = FindByName(__.OntrialText);

            /// <summary></summary>
            public static readonly Field PartTimeDepGidStr = FindByName(__.PartTimeDepGidStr);

            /// <summary></summary>
            public static readonly Field PartTimeDepIDsStr = FindByName(__.PartTimeDepIDsStr);

            /// <summary></summary>
            public static readonly Field PartTimePositionGidStr = FindByName(__.PartTimePositionGidStr);

            /// <summary></summary>
            public static readonly Field PartTimePositionIdsStr = FindByName(__.PartTimePositionIdsStr);

            /// <summary></summary>
            public static readonly Field PartTimeStartDateStr = FindByName(__.PartTimeStartDateStr);

            /// <summary></summary>
            public static readonly Field PartTimeStatusStr = FindByName(__.PartTimeStatusStr);

            /// <summary></summary>
            public static readonly Field PersonnelStatus = FindByName(__.PersonnelStatus);

            /// <summary></summary>
            public static readonly Field PhoneContact = FindByName(__.PhoneContact);

            /// <summary></summary>
            public static readonly Field Physical = FindByName(__.Physical);

            /// <summary></summary>
            public static readonly Field PoliticalText = FindByName(__.PoliticalText);

            /// <summary></summary>
            public static readonly Field Position = FindByName(__.Position);

            /// <summary></summary>
            public static readonly Field SexName = FindByName(__.SexName);

            /// <summary></summary>
            public static readonly Field WorkDate = FindByName(__.WorkDate);

            /// <summary></summary>
            public static readonly Field WorkPlace = FindByName(__.WorkPlace);

            /// <summary></summary>
            public static readonly Field XianZhuDiZhi = FindByName(__.XianZhuDiZhi);

            /// <summary></summary>
            public static readonly Field YingYuDengJi = FindByName(__.YingYuDengJi);

            /// <summary></summary>
            public static readonly Field ZhuanYe = FindByName(__.ZhuanYe);

            /// <summary></summary>
            public static readonly Field BmmcPt = FindByName(__.BmmcPt);

            /// <summary></summary>
            public static readonly Field DeptClassText = FindByName(__.DeptClassText);

            /// <summary></summary>
            public static readonly Field DeptClass = FindByName(__.DeptClass);

            static Field FindByName(String name) => Meta.Table.FindByName(name);
        }

        /// <summary>取得TSysUsers字段名称的快捷方式</summary>
        public partial class __
        {
            /// <summary></summary>
            public const String ID = "ID";

            /// <summary></summary>
            public const String UserName = "UserName";

            /// <summary></summary>
            public const String FullName = "FullName";

            /// <summary></summary>
            public const String OrganizationId = "OrganizationId";

            /// <summary></summary>
            public const String Email = "Email";

            /// <summary></summary>
            public const String Mobile = "Mobile";

            /// <summary></summary>
            public const String EmployeeNo = "EmployeeNo";

            /// <summary></summary>
            public const String IsDisabled = "IsDisabled";

            /// <summary></summary>
            public const String IsLocked = "IsLocked";

            /// <summary></summary>
            public const String CreateAt = "CreateAt";

            /// <summary></summary>
            public const String UpdateAt = "UpdateAt";

            /// <summary></summary>
            public const String Status = "Status";

            /// <summary></summary>
            public const String CertNo = "CertNo";

            /// <summary></summary>
            public const String BankAccount = "BankAccount";

            /// <summary></summary>
            public const String BeginIndustryAt = "BeginIndustryAt";

            /// <summary></summary>
            public const String BiYeShiJian = "BiYeShiJian";

            /// <summary></summary>
            public const String BiYeXueYuan = "BiYeXueYuan";

            /// <summary></summary>
            public const String BirthDay = "BirthDay";

            /// <summary></summary>
            public const String BirthPlace = "BirthPlace";

            /// <summary></summary>
            public const String Bmmc = "Bmmc";

            /// <summary></summary>
            public const String DegreeText = "DegreeText";

            /// <summary></summary>
            public const String EmergencyContact = "EmergencyContact";

            /// <summary></summary>
            public const String EmpPhotoUrl = "EmpPhotoUrl";

            /// <summary></summary>
            public const String Gwmc = "Gwmc";

            /// <summary></summary>
            public const String HireDate = "HireDate";

            /// <summary></summary>
            public const String HrGuid = "HrGuid";

            /// <summary></summary>
            public const String HuJiDiZhi = "HuJiDiZhi";

            /// <summary></summary>
            public const String MarriageText = "MarriageText";

            /// <summary></summary>
            public const String NationText = "NationText";

            /// <summary></summary>
            public const String Nationality = "Nationality";

            /// <summary></summary>
            public const String OfficePhone = "OfficePhone";

            /// <summary></summary>
            public const String OldEmployeeNo = "OldEmployeeNo";

            /// <summary></summary>
            public const String OldHrDeptGid = "OldHrDeptGid";

            /// <summary></summary>
            public const String OldHrInnerID = "OldHrInnerID";

            /// <summary></summary>
            public const String OldHrPosiGid = "OldHrPosiGid";

            /// <summary></summary>
            public const String OldHrUserGuid = "OldHrUserGuid";

            /// <summary></summary>
            public const String OntrialText = "OntrialText";

            /// <summary></summary>
            public const String PartTimeDepGidStr = "PartTimeDepGidStr";

            /// <summary></summary>
            public const String PartTimeDepIDsStr = "PartTimeDepIDsStr";

            /// <summary></summary>
            public const String PartTimePositionGidStr = "PartTimePositionGidStr";

            /// <summary></summary>
            public const String PartTimePositionIdsStr = "PartTimePositionIdsStr";

            /// <summary></summary>
            public const String PartTimeStartDateStr = "PartTimeStartDateStr";

            /// <summary></summary>
            public const String PartTimeStatusStr = "PartTimeStatusStr";

            /// <summary></summary>
            public const String PersonnelStatus = "PersonnelStatus";

            /// <summary></summary>
            public const String PhoneContact = "PhoneContact";

            /// <summary></summary>
            public const String Physical = "Physical";

            /// <summary></summary>
            public const String PoliticalText = "PoliticalText";

            /// <summary></summary>
            public const String Position = "Position";

            /// <summary></summary>
            public const String SexName = "SexName";

            /// <summary></summary>
            public const String WorkDate = "WorkDate";

            /// <summary></summary>
            public const String WorkPlace = "WorkPlace";

            /// <summary></summary>
            public const String XianZhuDiZhi = "XianZhuDiZhi";

            /// <summary></summary>
            public const String YingYuDengJi = "YingYuDengJi";

            /// <summary></summary>
            public const String ZhuanYe = "ZhuanYe";

            /// <summary></summary>
            public const String BmmcPt = "BmmcPt";

            /// <summary></summary>
            public const String DeptClassText = "DeptClassText";

            /// <summary></summary>
            public const String DeptClass = "DeptClass";
        }
        #endregion
    }

    /// <summary>接口</summary>
    public partial interface ITSysUsers
    {
        #region 属性
        /// <summary></summary>
        Int32 ID { get; set; }

        /// <summary></summary>
        String UserName { get; set; }

        /// <summary></summary>
        String FullName { get; set; }

        /// <summary></summary>
        String OrganizationId { get; set; }

        /// <summary></summary>
        String Email { get; set; }

        /// <summary></summary>
        String Mobile { get; set; }

        /// <summary></summary>
        String EmployeeNo { get; set; }

        /// <summary></summary>
        Boolean IsDisabled { get; set; }

        /// <summary></summary>
        Boolean IsLocked { get; set; }

        /// <summary></summary>
        DateTime CreateAt { get; set; }

        /// <summary></summary>
        DateTime UpdateAt { get; set; }

        /// <summary></summary>
        String Status { get; set; }

        /// <summary></summary>
        String CertNo { get; set; }

        /// <summary></summary>
        String BankAccount { get; set; }

        /// <summary></summary>
        DateTime BeginIndustryAt { get; set; }

        /// <summary></summary>
        DateTime BiYeShiJian { get; set; }

        /// <summary></summary>
        String BiYeXueYuan { get; set; }

        /// <summary></summary>
        DateTime BirthDay { get; set; }

        /// <summary></summary>
        String BirthPlace { get; set; }

        /// <summary></summary>
        String Bmmc { get; set; }

        /// <summary></summary>
        String DegreeText { get; set; }

        /// <summary></summary>
        String EmergencyContact { get; set; }

        /// <summary></summary>
        String EmpPhotoUrl { get; set; }

        /// <summary></summary>
        String Gwmc { get; set; }

        /// <summary></summary>
        DateTime HireDate { get; set; }

        /// <summary></summary>
        String HrGuid { get; set; }

        /// <summary></summary>
        String HuJiDiZhi { get; set; }

        /// <summary></summary>
        String MarriageText { get; set; }

        /// <summary></summary>
        String NationText { get; set; }

        /// <summary></summary>
        String Nationality { get; set; }

        /// <summary></summary>
        String OfficePhone { get; set; }

        /// <summary></summary>
        String OldEmployeeNo { get; set; }

        /// <summary></summary>
        String OldHrDeptGid { get; set; }

        /// <summary></summary>
        String OldHrInnerID { get; set; }

        /// <summary></summary>
        String OldHrPosiGid { get; set; }

        /// <summary></summary>
        String OldHrUserGuid { get; set; }

        /// <summary></summary>
        String OntrialText { get; set; }

        /// <summary></summary>
        String PartTimeDepGidStr { get; set; }

        /// <summary></summary>
        String PartTimeDepIDsStr { get; set; }

        /// <summary></summary>
        String PartTimePositionGidStr { get; set; }

        /// <summary></summary>
        String PartTimePositionIdsStr { get; set; }

        /// <summary></summary>
        String PartTimeStartDateStr { get; set; }

        /// <summary></summary>
        String PartTimeStatusStr { get; set; }

        /// <summary></summary>
        String PersonnelStatus { get; set; }

        /// <summary></summary>
        String PhoneContact { get; set; }

        /// <summary></summary>
        String Physical { get; set; }

        /// <summary></summary>
        String PoliticalText { get; set; }

        /// <summary></summary>
        String Position { get; set; }

        /// <summary></summary>
        String SexName { get; set; }

        /// <summary></summary>
        DateTime WorkDate { get; set; }

        /// <summary></summary>
        String WorkPlace { get; set; }

        /// <summary></summary>
        String XianZhuDiZhi { get; set; }

        /// <summary></summary>
        String YingYuDengJi { get; set; }

        /// <summary></summary>
        String ZhuanYe { get; set; }

        /// <summary></summary>
        String BmmcPt { get; set; }

        /// <summary></summary>
        String DeptClassText { get; set; }

        /// <summary></summary>
        String DeptClass { get; set; }
        #endregion

        #region 获取/设置 字段值
        /// <summary>获取/设置 字段值</summary>
        /// <param name="name">字段名</param>
        /// <returns></returns>
        Object this[String name] { get; set; }
        #endregion
    }
}